package com.lwlk.zdk.mapper.pw;


import com.lwlk.zdk.model.Encapsulation.EncapsulationOperationType;
import com.lwlk.zdk.model.Logger.SysLog;
import com.lwlk.zdk.model.Logger.pwLog;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface pwLogMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(pwLog record);

    int insertSelective(pwLog record);

    pwLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(pwLog record);

    int updateByPrimaryKey(pwLog record);


    List<Map<String,Object>> selectCondition(@Param("userName") String userName, @Param("operation") String operation, @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<Map<String, Object>> selectSwop();

    List<EncapsulationOperationType> selectOperationShow();

    List<Map<String, Object>> selectTerm(@Param("operation") String operation, @Param("startTime") String startTime,@Param("endTime")String endTime, @Param("userName") String userName);
}